package cn.ljh.zard.boot;

import cn.ljh.zard.executor.AbBaseExecutor;
import cn.ljh.zard.executor.BaseExecutor;
import cn.ljh.zard.listen.register.IListenerRegister;
import cn.ljh.zard.listen.register.ListenerRegister;
import cn.ljh.zard.parse.IParseRegister;
import cn.ljh.zard.parse.ParseRegister;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ListenerAutoConfiguration {

    @Bean
    public BaseExecutor baseExecutor() {

        return new AbBaseExecutor();
    }

    @Bean
    public IListenerRegister listenerRegister() {
        return new ListenerRegister();
    }

    @Bean
    public IParseRegister parseRegister() {
        return new ParseRegister();
    }


}
